import Vue from 'vue'
import Vuex from 'vuex'
import rootActions from './action.js'
import rootMutatios from './mutation.js'
import menu from './modules/menu.js'
Vue.use(Vuex)

const store = new Vuex.Store({
  state: {
    a: 1
  },
  ...rootActions,
  ...rootMutatios,
  modules: {
    menu
  },
  getters: {}
})

export default store
